﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="position_edit.aspx.cs"
    Inherits="He.Web.manage.ad.position_edit" %>

<%@ Register Src="../_uc/head_edit.ascx" TagPrefix="uc" TagName="head_edit" %>
<%@ Register Src="../_uc/head.ascx" TagPrefix="uc" TagName="head" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>编辑广告位</title>
    <uc:head runat="server" ID="uchead" />
    <uc:head_edit runat="server" ID="uchead_edit" />
</head>
<body style="padding: 10px;">
    <form id="form1" runat="server">
    <div class="navigation">
        <span class="back"><a href="position_list.aspx">返回列表</a></span><b>您当前的位置：管理中心 &gt; 广告管理
            &gt; 编辑广告位</b>
    </div>
    <div class="spClear">
    </div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
        <tr>
            <th colspan="2" align="left">
                编辑广告位
            </th>
        </tr>
        <tr>
            <td width="25%" align="right">
                广告位名称：
            </td>
            <td width="75%">
                <asp:TextBox ID="txtTitle" runat="server" CssClass="input required" size="30" MaxLength="50"
                    HintTitle="广告位名称" HintInfo="请填写广告位名称，至少1个字符，小于50个字符，如“首页顶部通栏广告”。"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right">
                语言版本：
            </td>
            <td>
                <asp:DropDownList ID="ddlLang" runat="server" CssClass="required">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td align="right">
                调用标识：
            </td>
            <td>
                <asp:TextBox ID="txtCallMark" runat="server" CssClass="input" size="50" MaxLength="100"
                    HintTitle="调用标识" HintInfo="用于前台调用，请输入英文字母。"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right">
                宽度：
            </td>
            <td>
                <asp:TextBox ID="txtAdWidth" runat="server" CssClass="input required" size="5" MaxLength="10"
                    HintTitle="广告位的宽度" HintInfo="请填写该广告位的宽度，只能输入正整数，不能小于零。"></asp:TextBox>
                &nbsp;px
            </td>
        </tr>
        <tr>
            <td align="right">
                高度：
            </td>
            <td>
                <asp:TextBox ID="txtAdHeight" runat="server" CssClass="input required" size="5" MaxLength="10"
                    HintTitle="广告位的高度" HintInfo="请填写该广告位的高度，只能输入正整数，不能小于零。"></asp:TextBox>
                &nbsp;px
            </td>
        </tr>
        <tr>
            <td align="right">
                链接目标：
            </td>
            <td>
                <asp:RadioButtonList ID="rblAdTarget" runat="server" RepeatDirection="Horizontal"
                    RepeatLayout="Flow">
                    <asp:ListItem Selected="True" Value="_blank">新窗口 </asp:ListItem>
                    <asp:ListItem Value="_self">原窗口 </asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td align="right">
                展示效果：
            </td>
            <td>
                <asp:DropDownList ID="ddlDisplayEffect" CssClass="required" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td align="right">
                更改展示效果：
            </td>
            <td>
                <asp:RadioButtonList ID="rblAllowSetEffect" runat="server" RepeatDirection="Horizontal"
                    RepeatLayout="Flow">
                    <asp:ListItem Selected="True" Value="0">关闭</asp:ListItem>
                    <asp:ListItem Value="1">开启 </asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td align="right">
                状态：
            </td>
            <td>
                <asp:RadioButtonList ID="rblAdStatus" runat="server" RepeatDirection="Horizontal"
                    RepeatLayout="Flow">
                    <asp:ListItem Selected="True" Value="0">关闭 </asp:ListItem>
                    <asp:ListItem Value="1">开启 </asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
    </table>
    <div style="margin-top: 10px; text-align: center;">
        <asp:Button ID="btnSave" runat="server" Text="确 认 保 存" CssClass="submit" OnClick="btnSave_Click" />
    </div>
    </form>
</body>
</html>
